[<<Previous Entry]
[^^Up^^]
[Next Entry>>]
[Menu]
[About The Guide]
FillChar Fills Memory with Value
FillChar(var Dest : <type>; Length : Integer; Data : <byte>); [TP]
Fills Length bytes with Data, starting at the address of Dest. No type
or bounds checking whatsoever is done, so be careful.
Dest A variable of any type.
Length Number of bytes to be filled.
Data Any one-byte value; can be Integer, Boolean, Char, or
an enumerated data type.
-------------------------------- Example ---------------------------------
FillChar(List,SizeOf(List),0); {Initialize List to 0 }
FillChar(Name[1],10,'A'); {Initialize string to 'A' }
See Also:
Move
SizeOf
This page created by ng2html v1.05, the Norton guide to HTML conversion utility.
Written by Dave Pearson